The phrase "nightmare" refers to a bad or scary dream that can wake you up feeling frightened or upset.